package com.caishi.lkx.exam.ienum.type;

import com.baomidou.mybatisplus.annotation.EnumValue;
import lombok.Getter;

public enum CorrectionType {

    answer("答案有问题", 1),
    inconsistent("答案与解析不相符", 2),
    typo("有错别字", 3),
    option("选项有问题", 4),
    other("其他",5)
    ;

    @Getter
    final
    String desc;

    @Getter
    @EnumValue
    final
    Integer code;

    CorrectionType(String desc, Integer code) {
        this.desc = desc;
        this.code = code;
    }
}
